package cn.ithers.springcloud.dao;

import cn.ithers.springcloud.entities.Payment;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @Author: zhanghuan
 * @date: 2020/11/18 8:49
 * @description:
 */

@Mapper
public interface PaymentDao {

    int create(Payment payment);

    Payment getPaymentById(@Param("id") Long id);
}
